try:
    fh=open('text1.txt','r')

except Exception as e:
    print('有错误')
except IOError as el:
    print('IO错误')
else:
    print('正常')